<template>
  <div>
    <el-bread />
    <!-- 表格 -->
    <v-list class="list" @edit="edit" />
    <!-- 弹框 -->
    <v-dialog :isShow="isShow" ref="memberRef" @cancel="cancel"/>
  </div>
</template>
<script>
import vList from "./list";
import vDialog from "./dialog";
export default {
  data() {
    return {
      isShow: false,
    };
  },
  methods: {
    // 编辑
    edit(e) {
      this.isShow = true;
      // console.log(11);
      this.$refs.memberRef.lookup(e)
    },
    cancel(e){
      this.isShow = e
    }
  },
  mounted() {},
  watch: {},
  computed: {},
  filters: {},
  components: {
    vList,
    vDialog,
  },
};
</script>
<style scoped>
.list {
  margin-top: 10px;
}
</style>
